<div class="accordion-group">
	<div class="accordion-heading">
		<a class="accordion-toggle" data-toggle="collapse"
			data-parent="#whmstats" href="#loadhistory"> Server Load History </a>
	</div>
	<div id="loadhistory" class="accordion-body collapse">
		<div class="accordion-inner">
			<div class="graph" id="flot-vertical">
				<?php 
					$loadHistory = $whmaccount->getLoadAvgHistory();
				
					$this->widget('XGoogleChart', array(
					    'type' => 'line',
					    'title' => 'Server Load History',
//					    'data' => array(
//					        '2007' => array('Jan'=>61.0,'Feb'=>51.2,'Mar'=>61.8,'Apr'=>42.9,'May'=>33.7,'June'=>34.0,'July'=>34.5,'August'=>34.9,'Sept'=>45.4,'Oct'=>46.0,'Nov'=>46.3,'Dec'=>46.3),
//					        '2006' => array('Jan'=>35.0,'Feb'=>34.5,'Mar'=>44.5,'Apr'=>32.9,'May'=>22.9,'June'=>25.5,'July'=>25.5,'August'=>24.9,'Sept'=>37.3,'Oct'=>37.3,'Nov'=>39.9,'Dec'=>39.9),
//					        '2005' => array('Jan'=>15.0,'Feb'=>14.5,'Mar'=>24.5,'Apr'=>22.9,'May'=>12.9,'June'=>15.5,'July'=>15.5,'August'=>14.9,'Sept'=>17.3,'Oct'=>27.3,'Nov'=>29.9,'Dec'=>29.9)
//					    ),
					    'data' => $loadHistory['dataProvider'],
//					    'data' => array(
//							'one' => array('09:04' => 0.02, '09:02' => 0.12, '08:28' => 0.08),
//							'five' => array('09:04' => 0.03, '09:02' => 0.05, '08:28' => 0.02),
//							'fifteen' => array('09:04' => 0.00, '09:02' => 0.01, '08:28' => 0.01),
//						),
					    'size' => array(550, 300),
					    'color' => array('c93404', '6f8a09', '3285ce'),
					    'fill' => array('f8d4c8', 'd4e1a5'),
					    'gridSize' => array(9, 20), // x-axis and y-axis step of the grid
					    'gridStyle' => 'light', // optional: light or solid
						'axes' => array(
							'x' => $loadHistory['time'],
							'y' => array(0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09),
						),
					));
				?>
			</div>
		</div>
	</div>
</div>